/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.excel;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Excel.OLEDBConnection*/
public class OLEDBConnection extends JavaScriptObject {

	protected OLEDBConnection() { }
	public native final ExcelApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final Object getADOConnection()/*-{
		return this.ADOConnection;
	}-*/;

	public native final boolean getBackgroundQuery()/*-{
		return this.BackgroundQuery;
	}-*/;

	public native final void setBackgroundQuery(boolean value)/*-{
		this.BackgroundQuery = value;
	}-*/;

	public native final void cancelRefresh()/*-{
		this.CancelRefresh( );
	}-*/;

	public native final JavaScriptObject getCommandText()/*-{
		return this.CommandText;
	}-*/;

	public native final void setCommandText( Object value)/*-{
		this.CommandText = value;
	}-*/;

	public native final int getCommandType()/*-{
		return this.CommandType;
	}-*/;

	public native final void setCommandType(int value)/*-{
		this.CommandType = value;
	}-*/;

	public native final JavaScriptObject getConnection()/*-{
		return this.Connection;
	}-*/;

	public native final void setConnection( Object value)/*-{
		this.Connection = value;
	}-*/;

	public native final boolean getEnableRefresh()/*-{
		return this.EnableRefresh;
	}-*/;

	public native final void setEnableRefresh(boolean value)/*-{
		this.EnableRefresh = value;
	}-*/;

	public native final JavaScriptObject getLocalConnection()/*-{
		return this.LocalConnection;
	}-*/;

	public native final void setLocalConnection( Object value)/*-{
		this.LocalConnection = value;
	}-*/;

	public native final boolean getMaintainConnection()/*-{
		return this.MaintainConnection;
	}-*/;

	public native final void setMaintainConnection(boolean value)/*-{
		this.MaintainConnection = value;
	}-*/;

	public native final void makeConnection()/*-{
		this.MakeConnection( );
	}-*/;

	public native final void refresh()/*-{
		this.Refresh( );
	}-*/;

	public native final java.util.Date getRefreshDate()/*-{
		return this.RefreshDate;
	}-*/;

	public native final boolean getRefreshing()/*-{
		return this.Refreshing;
	}-*/;

	public native final boolean getRefreshOnFileOpen()/*-{
		return this.RefreshOnFileOpen;
	}-*/;

	public native final void setRefreshOnFileOpen(boolean value)/*-{
		this.RefreshOnFileOpen = value;
	}-*/;

	public native final int getRefreshPeriod()/*-{
		return this.RefreshPeriod;
	}-*/;

	public native final void setRefreshPeriod(int value)/*-{
		this.RefreshPeriod = value;
	}-*/;

	public native final int getRobustConnect()/*-{
		return this.RobustConnect;
	}-*/;

	public native final void setRobustConnect(int value)/*-{
		this.RobustConnect = value;
	}-*/;

	public native final void saveAsODC(String oDCFileName,  Object description,  Object keywords)/*-{
		this.SaveAsODC( oDCFileName, description, keywords);
	}-*/;

	public native final boolean getSavePassword()/*-{
		return this.SavePassword;
	}-*/;

	public native final void setSavePassword(boolean value)/*-{
		this.SavePassword = value;
	}-*/;

	public native final String getSourceConnectionFile()/*-{
		return this.SourceConnectionFile;
	}-*/;

	public native final void setSourceConnectionFile(String value)/*-{
		this.SourceConnectionFile = value;
	}-*/;

	public native final String getSourceDataFile()/*-{
		return this.SourceDataFile;
	}-*/;

	public native final void setSourceDataFile(String value)/*-{
		this.SourceDataFile = value;
	}-*/;

	public native final boolean getOLAP()/*-{
		return this.OLAP;
	}-*/;

	public native final boolean getUseLocalConnection()/*-{
		return this.UseLocalConnection;
	}-*/;

	public native final void setUseLocalConnection(boolean value)/*-{
		this.UseLocalConnection = value;
	}-*/;

	public native final int getMaxDrillthroughRecords()/*-{
		return this.MaxDrillthroughRecords;
	}-*/;

	public native final void setMaxDrillthroughRecords(int value)/*-{
		this.MaxDrillthroughRecords = value;
	}-*/;

	public native final boolean getIsConnected()/*-{
		return this.IsConnected;
	}-*/;

	public native final int getServerCredentialsMethod()/*-{
		return this.ServerCredentialsMethod;
	}-*/;

	public native final void setServerCredentialsMethod(int value)/*-{
		this.ServerCredentialsMethod = value;
	}-*/;

	public native final String getServerSSOApplicationID()/*-{
		return this.ServerSSOApplicationID;
	}-*/;

	public native final void setServerSSOApplicationID(String value)/*-{
		this.ServerSSOApplicationID = value;
	}-*/;

	public native final boolean getAlwaysUseConnectionFile()/*-{
		return this.AlwaysUseConnectionFile;
	}-*/;

	public native final void setAlwaysUseConnectionFile(boolean value)/*-{
		this.AlwaysUseConnectionFile = value;
	}-*/;

	public native final boolean getServerFillColor()/*-{
		return this.ServerFillColor;
	}-*/;

	public native final void setServerFillColor(boolean value)/*-{
		this.ServerFillColor = value;
	}-*/;

	public native final boolean getServerFontStyle()/*-{
		return this.ServerFontStyle;
	}-*/;

	public native final void setServerFontStyle(boolean value)/*-{
		this.ServerFontStyle = value;
	}-*/;

	public native final boolean getServerNumberFormat()/*-{
		return this.ServerNumberFormat;
	}-*/;

	public native final void setServerNumberFormat(boolean value)/*-{
		this.ServerNumberFormat = value;
	}-*/;

	public native final boolean getServerTextColor()/*-{
		return this.ServerTextColor;
	}-*/;

	public native final void setServerTextColor(boolean value)/*-{
		this.ServerTextColor = value;
	}-*/;

	public native final boolean getRetrieveInOfficeUILang()/*-{
		return this.RetrieveInOfficeUILang;
	}-*/;

	public native final void setRetrieveInOfficeUILang(boolean value)/*-{
		this.RetrieveInOfficeUILang = value;
	}-*/;

}
